Add code generator app#318
Merged
wu-clan merged 59 commits intofastapi-practices:masterfrom Jul 10, 2024
wu-clan:add-generator-app
Merged
Add code generator app#318wu-clan merged 59 commits intofastapi-practices:masterfrom wu-clan:add-generator-app
wu-clan merged 59 commits intofastapi-practices:masterfrom
wu-clan:add-generator-app
Conversation
# Conflicts: # backend/pdm.lock
Closed
|
hi,大佬,代码生成进度如何 |
Closed
# Conflicts: # backend/app/admin/api/v1/auth2/__init__.py # backend/common/enums.py # backend/pdm.lock
chuxijin
pushed a commit
to chuxijin/fba
that referenced
this pull request
Feb 8, 2026
* Add code generator app * Define the generator interfaces * Update the name of the template files * update lock hash * update route and schemas * update gen code structure * add some gen codes * upgrade SQLAlchemy to release * update template util * Fix lint error * Add template rendering code * Add gen model code * Fix gen model table * Update business model column naming * Update any route * Fix api ninja args * Update gen business model * Fix interface services logic * Fix template render * Add more code template * Add model auto gen template * Fix model type map style * Update schema and model templates * Update gen_model schema * Fix model template if * Update have_datetime_column field from gen_model to gen_business table * Update the name of the zip * Update model template vars * Add download generate code * Add preview code encoding * Update service code template * fix lint * Update github auth tag * Update requirements * Add code generation write * Update generate interface and zip conf * Optimize templates details * Update model relation column conf * Add import tables module * Add get all databases interface * Fix get tables interface * Bump pydantic to 2.8.1 * Upgrading lint dependencies * Add import business and model implement * Split import database execution code * Update text SQL execution to prevent SQL injection * Optimize schema name generation * clean code * Update create tables sql scripts * Update import sql query conditions * Add todo comments * Mark business creation interface * Update features in README
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
WIP.